package com.dkm.orproject.dkmoa.dao;

import com.dkm.orproject.dkmoa.domain.OaCarUpkeep;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface OaCarUpkeepMapper {
    int deleteByPrimaryKey(Long pkCarUpkeepId);

    int insert(OaCarUpkeep record);

    int insertSelective(OaCarUpkeep record);

    OaCarUpkeep selectByPrimaryKey(Long pkCarUpkeepId);

    int updateByPrimaryKeySelective(OaCarUpkeep record);

    int updateByPrimaryKey(OaCarUpkeep record);

    List<OaCarUpkeep> selectAll(List<Long> list);

    int deleteAll(List<Long> list);

    List<OaCarUpkeep> findAll(String carUpkeepName, String startTime, String endTime);

    Long rowCount(String carUpkeepName, String startTime, String endTime);
}